Make the "test" array static.
authorTor Lillqvist <tml@novell.com>
Mon, 24 Mar 2008 21:31:48 +0000 (21:31 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 24 Mar 2008 21:31:48 +0000 (21:31 +0000)
2008-03-24  Tor Lillqvist  <tml@novell.com>

* babl/babl-type.c: Make the "test" array static.

svn path=/trunk/; revision=297

ChangeLog
babl/babl-type.c

index cbe0abfde1ac57df8eda5ea425260a9c44a32b6b..ec56ead736edd8b2ea43e2971c03b8324d426a55 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-24  Tor Lillqvist  <tml@novell.com>
+
+       * babl/babl-type.c: Make the "test" array static.
+
 2008-03-23  Martin Nordholts  <martinn@svn.gnome.org>
 
        * babl/babl-memory.[ch]: typedef:ed BABL free and malloc function
index b4f7e2836742d6fe30451e9a5e411f94a5bde2e7..7004dd64c681635c1e7c39b6933f3f01a728faec 100644 (file)
@@ -142,7 +142,7 @@ babl_type_new (void *first_arg,
 #define TOLERANCE    0.000000001
 #define samples      512
 
-double test[samples];
+static double test[samples];
 
 static double r_interval (double min, double max)
 {